<html>
<head><meta charset="utf-8"><title>handling unresolved where clauses · z-archived-t-compiler/wg-rls-2.0/chalk · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/191167-z-archived-t-compiler/wg-rls-2.0/chalk/index.html">z-archived-t-compiler/wg-rls-2.0/chalk</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/191167-z-archived-t-compiler/wg-rls-2.0/chalk/topic/handling.20unresolved.20where.20clauses.html">handling unresolved where clauses</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="165465384"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/191167-z-archived-t-compiler/wg-rls-2.0/chalk/topic/handling%20unresolved%20where%20clauses/near/165465384" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Florian Diebold <a href="https://rust-lang.github.io/zulip_archive/stream/191167-z-archived-t-compiler/wg-rls-2.0/chalk/topic/handling.20unresolved.20where.20clauses.html#165465384">(May 12 2019 at 13:45)</a>:</h4>
<p><span class="user-mention" data-user-id="116009">@nikomatsakis</span> in <a href="https://github.com/rust-analyzer/rust-analyzer/issues/1262" target="_blank" title="https://github.com/rust-analyzer/rust-analyzer/issues/1262">rust-analyzer#1262</a>, the question how to handle where clauses where the trait can't be resolved came up. I think we need to ignore impls with such where clauses somehow, but filtering them out at the beginning isn't isn't so easy. I've built a hack with a hardcoded 'error trait' that has no impls, but maybe adding an <code>Error</code> / <code>False</code> clause in Chalk would be cleaner?</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>